package learning.xml.jaxb;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "Style")
// If you want you can define the order in which the fields are written
// Optional
@XmlType(propOrder = { "name", "artists"})
public class Style {

	private String name;
	private String[] artists;

	@XmlElement(name = "musicianName")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String[] getArtists() {
		return artists;
	}

	public void setArtists(String[] artists) {
		this.artists = artists;
	}
}

			